#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/highgui/highgui_c.h>
#include "Handtracking.hpp"
#include <iostream>
#include <stdio.h>


using namespace cv;
using namespace std;

const char WINDOW[] = "Image window";
const char WINDOW2[] = "Image window2";
char* entrada1 = "RGB_img-022127.png";
char* entrada2 = "depth_img-022083.png";
Handtracking H;

int main(int argc, char** argv)
{  
    entrada1=argv[1];
    entrada2=argv[2];
    Mat src1 = imread(entrada1);
    if (src1.empty())
        return -1;
    Mat src2 = imread(entrada2);
    if (src2.empty())
        return -1;
   H.anadir_frame(src1);
   H.HandPixel(src2);

    return 0;
}
